Using Control Flow Analysis for Space and Time Efficient Stub Generation

نویسنده

  • Philipp Hoschka
چکیده

A stub generator is a tool that automatically produces the communication software required for presentation conversion. An open problem in stub generation is finding the right trade-off between code size and execution speed of the generated code. The generation of tables that are interpreted at run-time leads to small but slow object code. The direct generation of program code leads to fast but big object code. This trade-off can be solved by using a mixture of the two code generation techniques that uses direct generation of program code only for types of an interface specification that are expected to be used frequently at run-time. However, this approach requires that the frequency distribution of type usage at run-time exhibits sufficient locality. In this paper, we give experimental evidence that this is indeed the case. A second experiment indicates that relatively simple heuristics exist to predict the most frequently used types by compile-time analysis of the interface specification. The experiment was conducted by correlating a trace of X.400 e-mail messages with the X.400 interface specification. We found that by using a very simple heuristic we could correctly predict 8 of the 10 most frequently used types in the trace. This prediction is a prerequisite for implementing stub generators that produce space and time efficient conversion routines.

منابع مشابه

Analysis of the Characteristics, Physical Concepts and Entropy Generation in a Turbulent Channel Flow Using Vortex Blob Method

In this paper, using vortex blob method (VBM), turbulent flow in a channel is studied and physical concepts of turbulence are obtained and discussed. At first, time-averaged velocities,  and , and then their fluctuations are calculated. To clarify turbulence structures, velocity fluctuations and  are plotted. It is observed that turbulence structures occupy different positions and move with con...

متن کامل

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

Entropy generation calculation for laminar fully developed forced flow and heat transfer of nanofluids inside annuli

In this paper, second law analysis for calculations of the entropy generation due to the flow andheat transfer of water-Al2O3 and ethylene glycol-Al2O3 nanofluids inside annuli is presented. Thephysical properties of the nanofluids are calculated using empirical correlations. Constant heatfluxes at inner surface of the annuli are considered and fully developed condition for fluid flowand heat t...

متن کامل

Chaotic Analysis and Prediction of River Flows

Analyses and investigations on river flow behavior are major issues in design, operation and studies related to water engineering. Thus, recently the application of chaos theory and new techniques, such as chaos theory, has been considered in hydrology and water resources due to relevant innovations and ability. This paper compares the performance of chaos theory with Anfis model and discusses ...

متن کامل

Knowledge Flows Automation and Designing a Knowledge Management Framework for Educational Organizations

  One of an important factor in the success of organizations is the efficiency of knowledge flow. The knowledge flow is a comprehensive concept and in recent studies of organizational analysis broadly considered in the areas of strategic management, organizational analysis and economics. In this paper, we consider knowledge flows from an Information Technology (IT) viewpoint. We usually have tw...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

متن کامل
عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993